package com.bys.controller;

import com.bys.server.MessageService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class MessageController {
    @Resource
    private MessageService messageService;
    @GetMapping("/message/send")
    public String sendMessage(){
       return messageService.send();
    }
}
